Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1228 Configurable upload timeout #1236

Merged
merged 3 commits into from
Oct 14, 2024
Merged

#1228 Configurable upload timeout #1236

merged 3 commits into from
Oct 14, 2024

Conversation

yuri-becker
Copy link
Contributor

@yuri-becker yuri-becker commented Oct 12, 2024

Implementation #1228.

Tested by building the image and including it in docker-compose file close to my production environment.
Uploads get correctly cancelled when the timeout passes (15000 in this case).

image

Uploads beyond 10 minutes don't fail with a timeout high enough or 0.
image

For the wiki, the row would be something like this:

Variable Description Required Default
UPLOAD_TIMEOUT Limit for how long a ROM upload is allowed to take, in Seconds. Set to 0 for no timeout. You probably need to this when your server is remote, and you regularly upload large ROMs. 600

@gantoine gantoine merged commit 5b73c4e into rommapp:master Oct 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants